﻿<%@ Page Title="" Language="C#" MasterPageFile="~/zh-cn/Site.Master" AutoEventWireup="true" CodeBehind="Products.aspx.cs" Inherits="Web_HengliSeed.zh_cn.Products" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<form id="Form1" runat="server">
    <div id="content_main">
        <h1>产品</h1>
        <br />
        <div class="list_results">
            <ul>
                <asp:Repeater runat="server" ID="rptData">
                    <ItemTemplate>
                        <li>
                            <h3>
                                <a href="Product.aspx?s=<%#Eval("T_ProductID") %>">
                                    <%#Eval("T_ProductName")%></a>
                                <br />
                                <span class="date">
                                    <%#String.IsNullOrEmpty(Eval("T_DateTime").ToString()) ? "" : DateTime.Parse(Eval("T_DateTime").ToString()).ToShortDateString()%></span>
                            </h3>
                            <div class="right">                                <img src="../upload/image/<%#Eval("T_ProductImage") %>" width="84" height="84" style=' display:<%# String.IsNullOrEmpty(Eval("T_ProductImage").ToString()) ? " none" : ""%>' />                            </div>
                            <p>
                                <%#CheckStr(Eval("T_ProductNote").ToString())%>
                            </p>
                            <p class="more">
                                <a href="Product.aspx?s=<%#Eval("T_ProductID") %>">详细内容</a>
                            </p>
                        </li>
                        <hr/>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <div>
                <asp:Label runat="server" ID="PageMes"></asp:Label></span>
                <asp:LinkButton ID="LBHome" runat="server" CssClass="pageBtn" OnClick="LBHome_Click">[首页]</asp:LinkButton>
                <asp:LinkButton ID="LBUp" runat="server" CssClass="pageBtn" OnClick="LBUp_Click">[上一页]</asp:LinkButton>
                <asp:LinkButton ID="LBNext" runat="server" CssClass="pageBtn" OnClick="LBNext_Click">[下一页]</asp:LinkButton>
                <asp:LinkButton ID="LBEnd" runat="server" CssClass="pageBtn" OnClick="LBEnd_Click">[尾页]</asp:LinkButton>
            </div>
        </div>
        <div id="content_secondary" style="">
            <div id="nav_page">
                <div id="sub-nav" class="gradient_1">
                    <ul>
                        <li class="active"><a href="#">产品分类</a>
                            <%=GetProClass()%>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <asp:HiddenField ID="HNowPage" runat="server" Value="1" />
    <asp:HiddenField ID="HPageSize" runat="server" Value="10" />
    <asp:HiddenField ID="HAllPage" runat="server" Value="0" />
    </form>
</asp:Content>
